package com.sky.business.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.business.sys.domain.MQTTMessage;

import java.time.LocalDateTime;

public interface MQTTMessageService extends IService<MQTTMessage> {

    /**
     * 删除指定日期之前的所有消息
     * @param date  日期
     */
    void deleteByCreateDateBefore(LocalDateTime date);
}
